package com.ruoyi.standingbook.recycle.domain.vo;

import java.util.Date;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.constant.TransConstant;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.tools.convert.ExcelOssDownloadConver;
import lombok.Data;
import java.util.Date;



/**
 * 垃圾清运视图对象 tz_recycle
 *
 * @author cc
 * @date 2023-04-29
 */
@Data
@ExcelIgnoreUnannotated
public class RecycleVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
//    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String itemName;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    @DateTimeFormat(value = "yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    /**
     * 垃圾类别
     */
    @ExcelProperty(value = "垃圾类别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "erecord_recycle_garbage_category")
    private String garbageCategory;

    /**
     * 垃圾类别文本
     */
    private String garbageCategoryText;

    /**
     * 司机id
     */
//    @ExcelProperty(value = "司机id")
    private Long driverId;

    /**
     * 司机名称
     */
    @ExcelProperty(value = "司机")
    private String driverName;

    /**
     * 司机手机号码
     */
    @ExcelProperty(value = "司机手机号码")
    private String driverPhoneNumber;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String licensePlateNumber;

    /**
     * 清运路线
     */
    @ExcelProperty(value = "清运路线")
    private String clearingRoute;

    /**
     * 清运单位id
     */
//    @ExcelProperty(value = "清运单位id")
    private Long clearingTransportationUnitId;

    /**
     * 清运单位名称
     */
    @ExcelProperty(value = "清运单位")
    private String clearingTransportationUnitName;


    /**
     * 中转站
     */
    @ExcelProperty(value = "中转站")
    private String transferStation;

    /**
     * 处理站
     */
    @ExcelProperty(value = "处理站")
    private String treatmentStation;

    /**
     * 垃圾清运要求
     */
    @ExcelProperty(value = "垃圾清运要求")
    private String garbageRemovalRequirements;

    /**
     * 桶数
     */
    @ExcelProperty(value = "桶数（L）")
    private Long barrelage;

    /**
     * 累计桶数
     */
    //@ExcelProperty(value = "累计桶数（L）")
    private Long totalBarrelage;

    /**
     * 重量(kg)
     */
    @ExcelProperty(value = "重量(kg)")
    private Double weight;

    /**
     * 累计重量(kg)
     */
    //@ExcelProperty(value = "累计重量(kg)")
    private Double totalWeight;

    /**
     * 垃圾桶状况
     */
    @ExcelProperty(value = "垃圾桶状况", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "garbage_bin_condition")
    private String garbageBinCondition;

    /**
     * 清运人员id
     */
//    @ExcelProperty(value = "清运人员id")
    private Long clearingPersonnelId;

    /**
     * 清运人员名称
     */
    @ExcelProperty(value = "清运人")
    private String clearingPersonnelName;

    /**
     * 交运人员id
     */
//    @ExcelProperty(value = "交运人员id")
    private Long transportationPersonnelId;

    /**
     * 交运人员名称
     */
    @ExcelProperty(value = "交运人")
    private String transportationPersonnelName;

    /**
     * 出车前检查图片
     */
    @ExcelProperty(value = "出车前检查图片", converter = ExcelOssDownloadConver.class)
    private String pic1;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic1")
    private String pic1Url;

    /**
     * 出车前检查图片2
     */
    //@ExcelProperty(value = "出车前检查图片2", converter = ExcelOssDownloadConver.class)
    private String pic2;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic2")
    private String pic2Url;

    /**
     * 清运过程图片
     */
    @ExcelProperty(value = "清运过程图片", converter = ExcelOssDownloadConver.class)
    private String pic3;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic3")
    private String pic3Url;

    /**
     * 清运过程图片2
     */
    //@ExcelProperty(value = "清运过程图片2", converter = ExcelOssDownloadConver.class)
    private String pic4;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic4")
    private String pic4Url;

    /**
     * 车辆进站图片
     */
    @ExcelProperty(value = "车辆进站图片", converter = ExcelOssDownloadConver.class)
    private String pic5;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic5")
    private String pic5Url;

    /**
     * 车辆进站图片2
     */
    //@ExcelProperty(value = "车辆进站图片2", converter = ExcelOssDownloadConver.class)
    private String pic6;

    @Translation(type = TransConstant.OSS_ID_TO_URL , mapper = "pic6")
    private String pic6Url;


    /**
     * 服务种类
     */
//    @ExcelProperty(value = "服务种类")
    private Long serviceType;

    private String serviceTypeName;

    /**
     * 垃圾屋名称
     */
//    @ExcelProperty(value = "垃圾屋名称")
    private String recycleName;

    /**
     * 收运类别
     */
//    @ExcelProperty(value = "收运类别")
    private String recycleType;

    /**
     * 来源
     */
//    @ExcelProperty(value = "来源")
    private String source;

    /**
     * 社区
     */
//    @ExcelProperty(value = "社区")
    private String community;

    /**
     * 地址
     */
//    @ExcelProperty(value = "地址")
    private String address;


    /**
     * 实际收运频率(桶)
     */
//    @ExcelProperty(value = "实际收运频率(桶)")
    private Long actualFrequency;



    /**
     * 状态
     */
//    @ExcelProperty(value = "状态")
    private String status;


    /**
     * 备注
     */
//    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建日期
     */
    //@ExcelProperty(value = "创建日期")
    private Date createTime;

    /**
     * 创建人
     */
    //@ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 车辆数
     */
    //@ExcelProperty(value = "车辆数")
    private Long carNumber;


}
